<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Error on load</title>
</head>
<body>
<script>
    throw new Error('The first error on page load');
    throw new Error('The second error on page load');
</script>
</body>
</html>